package com.cc.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/home")
public class HomeController {
	
	@RequestMapping("/index")
	public String home(){
		return "index";
	}
	@RequestMapping(value="toUnAuth",method=RequestMethod.GET)
	public String toUnAuth(){
		return "unAuth";
	}
	@RequestMapping(value="toRegister",method=RequestMethod.GET)
	public String toRegister(){
		return "register2";
	}
}
